<!-- 旗舰店日常报表-页签3-全部字段上传 -->
<template>
  <div class="mainTable">
    <BaseTable :query="query" :tableItems="tableItems" :updateItems="updateItems" :optionList="optionList"
      :methodParam="methodParam" :Btn="Btn" :importName="importName" :importURL="importURL" pageName="mainTable" />
  </div>
</template>
<script>
import dayjs from "dayjs"
import BaseTable from "../../../table/importTable.vue";
export default {
  name: "dyqjdzbjrb3",
  data() {
    return {
      //后端人员修改-S
      //查询参数
      query: [
        {
          prop: "searchTime", type: "time", placeholder: "",
          value: [dayjs(new Date()).add(-3, 'days').format("YYYY-MM-DD"), dayjs(new Date()).format("YYYY-MM-DD")],
          name: "查询时间"
        },
      ],
      //表格表头
      tableItems: [
        { name: "插入该条数据记录的时间", prop: "插入该条数据记录的时间", align: "left" },
        { name: "是否上传", prop: "是否上传" },
        { name: "数据统计时间", prop: "数据统计时间", align: "left" },
        { name: "新增会员人数", prop: "新增会员人数" },
        { name: "会员成交金额", prop: "会员成交金额" },
        { name: "会员成交人数", prop: "会员成交人数" },
        { name: "GMV", prop: "GMV" },
        { name: "退款金额", prop: "退款金额" },
        { name: "实际实收", prop: "实际实收" },
        { name: "访客数", prop: "访客数" },
        { name: "支付转化率", prop: "支付转化率" },
        { name: "支付买家数", prop: "支付买家数" },
        { name: "客单价", prop: "客单价" },
        { name: "收藏人数", prop: "收藏人数" },
        { name: "加购人数", prop: "加购人数" },
        { name: "老客GMV", prop: "老客GMV" },
        { name: "新客GMV", prop: "新客GMV" },
        { name: "支付老买家数", prop: "支付老买家数" },
        { name: "支付新买家数", prop: "支付新买家数" },
        { name: "淘客GMV", prop: "淘客GMV" },
        { name: "达播GMV", prop: "达播GMV" },
        { name: "日销推广GMV和", prop: "日销推广GMV和" },
        { name: "日销GMV", prop: "日销GMV" },
        { name: "推广GMV", prop: "推广GMV" },
        { name: "自播GMV", prop: "自播GMV" },
        { name: "UV价值", prop: "UV价值" },
        { name: "淘客费用", prop: "淘客费用" },
        { name: "推广费用", prop: "推广费用" },
        { name: "上传该条数据记录的时间", prop: "上传该条数据记录的时间", align: "left" },
        { name: "时间（日）", prop: "时间（日）", align: "left" },
        // { name: "直播佣金", prop: "直播佣金" },
        { name: "直播坑位费", prop: "直播坑位费" },
        { name: "刷单金额", prop: "刷单金额" },
        { name: "直播佣金比例", prop: "直播佣金比例" },


        // ……



      ],
      //增删查改的对象属性
      updateItems: [//edit是回复
        { name: "文件名称", prop: "fileName", type: "input", disabled: true },
        { name: "上传类型", prop: "uploadType", type: "select" },
        { name: "备注", prop: "remark", type: "textarea" },
        { name: "上传文件", prop: "fileAdd", type: "upload" },
      ],
      //增删查改的对象属性的下拉select或者级联cascader
      optionList: {
        unit: [
          { label: "日", value: "日" },
          { label: "周", value: "周" },
          { label: "月", value: "月" },
          { label: "年", value: "年" },
        ]
      },
      //查询方法参数
      // methodParam: "getDyFlagshipStoreLivingRoomDay",
      methodParam: "disQjdrcbbscbAll",
      //自定义btn功能
      Btn: {
        search: true, //查询按钮
        add: false, //添加按钮
        edit: false, //回复按钮
        detail: false, //详情按钮
        delete: false, //删除按钮
        deletes: false, //批量删除按钮
        export: true, //导出按钮
        templateDownload: false, //模板下载按钮
        upload: false, //上传按钮
      },
      importName: "旗舰店日常报表上传表",
      // importURL: "uploadDyFlagshipStoreLivingRoomDay"
      importURL: "uploadQjdrcbbscbAll"

      // upload_qjdrcbbscb_all(upload_df)

      //后端人员修改-E
    };
  },
  components: {
    BaseTable
  },
  created() {
    let _this = this

  }
};
</script>
<style scoped lang="less">
.mainTable {
  background-color: #f1f2f9;
}
</style>